package com.zhuoyue.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuoyue.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zyzn
 */
@Data
public class TblGatewayVo implements Serializable {
    private String id;

    private String homeId;
    private String remoteIp;

    @Excel(name = "家庭名称")
    private String homeName;

    @Excel(name = "设备MAC")
    private String zigbeeMac;

    @Excel(name = "WifiMAC")
    private String wifiMac;

    @Excel(name = "WifiIP")
    private String wifiIp;

    @Excel(name = "网关名称")
    private String name;

    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTime;

    @Excel(name = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String modifyTime;

    @Excel(name = "自动入网")
    private String zdrwbz;

    @Excel(name = "布防状态")
    private String defendStatus;

    private String alarmStatus;

    private String imgUrl;

    /**
     * 上报时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date switchTime;

    private String organizationCode;

    @Excel(name = "手机号")
    private String account;

    @Excel(name = "用户昵称")
    private String nickName;

    /**
     * 网关地址, 获取json中的region和city
     */
    private String address;
    private String deptName;

    /**
     * 硬件版本号
     */
    private String hardwareVersionNumber;
    /**
     * 软件版本号
     */
    private String softwareVersionNumber;

    private Long deptId;
}
